import util from "../../util";
import parentInstance from "../parentInstance";
export default class report extends parentInstance{
    constructor() {
        super();
        this.util = util;
        this.typeList=['templateDictionary','templateTree','templateQueue','templateSingleton'];
        this.record = {};
        this.info = null;
        this.pointer = null;
        this.modelMap=null;
        this.hier=null;
        this.others=null;
        /** modelMap格式
         * {
            table: tableName,
            featureList: new Set(),
            valueList: new Set(),
            fieldList: new Set(),
            groupList: new Set(),
            fieldMap: {
            fieldname；fieldtype
            },
          }
         */
    }
    /**
     * 新增报表配置
     * @returns {{comments: string, web: {}, values: {}, name: string, className: string, published: boolean, type: string, version: number, hier: *[], others: {}}}
     */
    static tpl(){
        return {
            // id: "",
            name: "",
            type:"",
            category:"",
            componentId: "",
            value:[{}],
            script: "",
            extendField: null,
            comments: ""
        }
    }
}
